package com.chat.dto;

public record ChatRequest(String message) {
    public ChatRequest {
        if (message == null || message.isBlank()) {
            throw new IllegalArgumentException("消息不能为空");
        }
    }
}
